<template>
  <div class="top" @click="handleClick">
    <span class="iconfont iconjiantou2"></span>
    <span class="title">{{ title }}</span>
  </div>
</template>

<script>
export default {
  props: ["title"],
  methods: {
    handleClick() {
      this.$emit("jumpPage");
    },
  },
};
</script>

<style lang="less" scoped>
.top {
  display: flex;
  color: #353c41;
  font-weight: 700;
  font-size: 14/360 * 100vw;
  padding: 16/360 * 100vw;
  .title {
    flex: 1;
    color: #4f4f4f;
    text-align: center;
    padding-right: 16/360 * 100vw;
  }
}
</style>
